<?php
namespace  plugin\banmitongcheng\validate;
 

use app\common\validate\BaseValidate;
 

class ShoppayValidate extends BaseValidate
{
    protected $rule = [  
    ];

    protected $message = [
           'id.number' => 'id必须为数字',
          
          
          
          
          'id.require' => 'id不得为空',
          'refuse_text.max' => '拒绝原因不能超过88个字符字',
          'refuse_text.require' => '拒绝原因不得为空',
          
          //数据验证提示
    ];

       
       /**
      * @notes  adopt  
      * @date 2023-03-23 15:01:35
      * @author 半米科技低代码一键生成
      */
       public function   sceneadopt(){ 
                   return $this->append('id','number');
       }
       
       /**
      * @notes  del  
      * @date 2023-03-23 15:01:38
      * @author 半米科技低代码一键生成
      */
       public function   scenedel(){ 
                   return $this->append('id','number');
       }
       
       /**
      * @notes  refuse  
      * @date 2023-03-23 15:01:41
      * @author 半米科技低代码一键生成
      */
       public function   scenerefuse(){ 
                   return $this->append('id','number')->append('id','require')->append('refuse_text','max:88')->append('refuse_text','require');
       }
       //数据验证方法

}